package com.ha.springcloud.service;


import com.ha.springcloud.pojo.Department;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DepartmentService {

    List<Department> queryDepartmentList();

    Department queryDepartmentById(int id);

    int addDepartment(Department department);

    int updateDepartment(Department department);

    int deleteDepartment(int id);

}
